Skip to content

Comments

Use iw to allow wifi-connect to refresh networks while connected#521

Open
meelash wants to merge 4 commits intobalena-os:masterfrom
meelash:live_networks
Open

Use iw to allow wifi-connect to refresh networks while connected#521
meelash wants to merge 4 commits intobalena-os:masterfrom
meelash:live_networks

Conversation

@meelash
Copy link

@meelash meelash commented Nov 27, 2023

This is an improvement on #492. I found on my raspberry pi 4 hardware/software configuration that Network Manager's list of networks did not update after calling iw. The list of access points from network manager while in AP mode was just the AP ssid itself.
Therefore, I updated the code to use iw's response to populate the network list live when the AP has been created. Of course, I had to use a version of wifiscanner that included the security information from iw for linux. The wifiscanner repo had a pull request by @booyaa that added it.

tomasgareau and others added 4 commits November 26, 2023 18:24
This uses wifiscanner (which in turn uses iw) to scan for networks. This
means we can refresh our list of networks while still providing an AP
via NetworkManager.

Unfortunately, wifiscanner does not currently parse security for
networks on Linux, so we can't use its results. Fortunately, just doing
the scan seems to be enough for NetworkManager to pick up the results!
@hupster
Copy link

hupster commented Jan 5, 2024

Works well for me. Merged upstream changes in this branch.

@hupster hupster mentioned this pull request Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants